#ifndef R3_H
#define R3_H

/****************************** Type Definitions ******************************/
struct _context{
	unsigned int BP, DI, SI, DS, ES;
	unsigned int DX, CX, BX, AX;
	unsigned int IP, CS, FLAGS;
};

typedef struct _context context;

struct _params{
	int op_code;
	int device_id;
	char *buf_addr;
	int *count_addr;
};

typedef struct _params params;

void interrupt dispatch();
void interrupt sys_call();

void Load_Procs(int, char **);
void Dispatch(int, char **);

#endif